package factory;

import dao.CustomDaoimpl;
import dao.ICustom;

public class CustomDaoFactory {
    public static ICustom getInstance(){  //生产客户信息的工厂
        //返回的是CustomDaoimpl---->ICustom=new CustomDaoimpl()  实例化其实现类
        return new CustomDaoimpl();
    }

}
